package
{
	
	import com.imcrl.performance.ISuitTest;
	import com.imcrl.performance.MethodTest;
	import com.imcrl.performance.PerformanceTest;
	
	import flash.display.Sprite;
	
	import tests.TestGet;
	import tests.TestList;
	import tests.TestNamespace;
	
	/**
	 * 
	 * @author crl
	 * 
	 */	
	public class PerformanceApp extends Sprite
	{
		private var performanceTest:PerformanceTest;
		private var loop:int=10000000;
		
		public function PerformanceApp()
		{
			performanceTest=new PerformanceTest(13);
			
			//addSuit(new TestNamespace());
			
			addSuit(new TestList());
			//addSuit(new Test());
			
			performanceTest.laterStart();
		}
		
		protected function addSuit(suit:ISuitTest):void{
			performanceTest.addSuit(suit);
		}
		
		
	}
}